Tag:assignment

  • Operators of go language foundation

    Time:2021-5-8

    Operators are used to perform mathematical or logical operations while a program is running. operator The built-in operators of go language are: Arithmetic operator Relational operators Logical operators Bitwise Operators Assignment Operators Arithmetic operator operator describe + Add – subtract * Multiply / be divided by % Surplus be careful: ++(self increasing) and–(self subtraction) is […]

  • Cookie knowledge summary

    Time:2021-5-6

    Recently, when clearing cookies, we used thedocument.cookie = ”And then it didn’t work. So, with the above questions, I found a time to study the cookie. This article is mainly based on the idea that I encounter problems and then solve them. It’s not based on the idea of telling cookies from 0 to 1. […]

  • JavaScript — operator, process control

    Time:2021-5-5

    1、 Operator 1. Arithmetic operator Arithmetic operator + – * / % ++ — Comparison operator > >= < <= != == === !== be careful: ————————————————- In the assignment operation: I + + means to first give the value of I to the left variable, and then add I on this basis++ ++I stands […]

  • Extension of ES6 object

    Time:2021-5-4

    1. Super keyword (1) We know,This keyword always points to the current object where the function is located. ES6 adds another similar keyword super to point to the prototype object of the current object。 const proto = { foo: ‘hello’ }; const obj = { foo: ‘world’, find() { return super.foo; // Super here refers […]

  • $translatepartiallloader loading failure and solution

    Time:2021-4-28

    preface $translatepartiallloader (hereinafter abbreviated as TPL) is a local loader in angular translate. Because the loader can load multiple internationalized files in modules at the same time, it becomes a necessary loader for angular to develop sap. problem In fact, if you write according to the tutorial on the official website, the TPL will not […]

  • Go realizes Java virtual machine 01

    Time:2021-4-25

    Some time ago, I read a book about using go language to realize java virtual machine. It’s very interesting. So I spent some time learning go language. Although I don’t have a deep understanding of go, it’s OK to write code. Just take it as a reading note! Here is the link. In addition, there […]

  • Angular2 built in instruction

    Time:2021-4-22

    From NG2 book 1.NgIf <div *ngIf=”false”></div> <!– never displayed –> <div *ngIf=”a > b”></div> <!– displayed if a is more than b –> <div *ngIf=”str === ‘yes'”></div> <!– displayed if str holds the string “yes” –> <div *ngIf=”myFunc()”></div> <!– displayed if myFunc returns a true value –> 2.NgSwitch When ngif judgment condition is too complex, […]

  • Re learning JavaScript in front end (1) data type of JavaScript

    Time:2021-4-22

       JavaScript this series of articles, not many points are involved, just involves some common, such as data type, closure, prototype chain, attribute descriptor, ES6 module and so on, as well as some problems raised by winter. Winter’s JavaScript is very in-depth, and I don’t know much about it, so I haven’t recorded it. If […]

  • 016 rush Necromancer’s safe memory initialization

    Time:2021-4-17

    The video recorded in this series is mainly on station BRust necromancer learning video Rust necromancer related source information ingithub.com/anonymousGiga/Rustonomi… introduce All runtime allocated memory starts “uninitialized.”. Rust provides ways to handle uninitialized memory, both secure and insecure. safe mode All variables on the stack are uninitialized before explicit assignment, but rust prevents programmers from […]

  • STL_ Queue container

    Time:2021-4-15

    1、 Introduction to queue All elements in and out of the queue must meet the “first in, first out” condition. Only the top element of the queue can be accessed by the outside world. The queue does not provide traversal function or iterator. Queue simply decorates deque container and becomes another kind of container. #include […]

  • Swift personal learning notes – 03: basic operators

    Time:2021-4-15

    This article is purely a Chinese version《The Swift Programming Language》So most of the content is in the article. This article is my study notes, not a formal and systematic record. For reference only There are still a lot of incomprehensible and uncertain points below, which I will point out with “doubtful” notes. Thanks to the […]

  • 【 asp.net 14. Net core

    Time:2021-4-13

    0. Preface Through the previous articles, we learned how to implement the basic architecture of the project: data source, routing settings, encryption and authentication. Then, in the implementation, we will encounter such a problem: when we have more and more business classes and data sources, we can’t assign values to each instance through the common […]