A fan also 🙂
Author: camilamacedo86
[Git] – How to update your fork branch with the changes made in the source repository?
Git command needed :Â upstream Step by Step Go to your fork project dir locally that you did via cloned the … More
[Cordova] I am getting the error message “cp: no such file or directory” but the file exist in the project. How to solve it ?
Error message Error that I found when I was adding the platform in your project locally : cp: no such … More
[Cordova] – What to do when we are getting the message error “An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=163)” ?
Executed command : $ run cordova ios Error Message ( debug console ) ** BUILD SUCCEEDED ** No target specified … More
[JS] – How to create classes with methods that can be accessed directly without a new instance of this class?
For this you should create a class and define its methods as static. Example Class: class DateHelper { static converterTextForDate(text) … More
[JS] – Example of a immutable class in Javascript
class Sell { constructor(date, quantity, price) { this._date = new Date(date.getTime()); // new instance this._quantity = quantity; this._price = price; … More
[JS] – How to implement classes in JavaScript ?
Classes are the programmatic structures that define a business model. Example : We will define here the Client class in … More
[JS] – How do you make an object immutable?
For do this you can use the “freeze” method that has in the javascript Objects. This method not only allow the … More
[JS] What is the difference between “var” and “let” to declare a variable?
If you declare a variable via “var” syntax it can be accessed outside of the method as opposed to declaring a … More
[JS] – How to filter values in an array ?
Use Filter function : From Eloquent Javascript Book:Â “Note how the filter function, rather than deleting elements from the existing array, … More